package com.ydd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydd.dto.AdvposDTO;
import com.ydd.dto.AdvposPageQueryDTO;
import com.ydd.entity.SysConfig;
import com.ydd.entity.YddAdvpos;
import com.ydd.vo.AdvposVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description TODO
 * @Author fang
 * @Date 2023-05-29 16:09
 */
@Mapper
public interface YddAdvposMapper extends BaseMapper<YddAdvpos> {
    /**
     * AdminIndexService-baseInfo
     * @return
     */
    @Select("select count(*) from ydd_advpos")
    Integer getYddAdvposNum();

    List<AdvposVO> page(AdvposPageQueryDTO advposPageQueryDTO);
//    List<YddAdvpos> page(AdvposPageQueryDTO advposPageQueryDTO);

}
